#ifndef TIME_H_
#define TIME_H_

#include <sys/types.h>

struct tm
{
        int	tm_sec;
        int	tm_min;
        int	tm_hour;
        int	tm_mday;
        int	tm_mon;
        int	tm_year;
        int	tm_wday;
        int	tm_yday;
        int	tm_isdst;
};

char *asctime(const struct tm *tm);
char *asctime_r(const struct tm *tm, char *buf);
char *ctime(const time_t *timep);
char *ctime_r(const time_t *timep, char *buf);
struct tm *gmtime(const time_t *timep);
struct tm *gmtime_r(const time_t *timep, struct tm *result);
struct tm *localtime(const time_t *timep);
struct tm *localtime_r(const time_t *timep, struct tm *result);
time_t mktime(struct tm *tm);
time_t time(time_t * t);

#endif
